/*修改滚动条样式*/
*::-webkit-scrollbar { 
  width: 8px; /* 垂直滚动条宽度 */ 
  height: 25px; /* 水平滚动条高度 */ 
  top: 2px;
}
/* 垂直滚动条 */
*::-webkit-scrollbar-vertical,.el-scrollbar__bar.is-vertical {
  width: 8px;
}
/* 水平滚动条 */
*::-webkit-scrollbar-horizontal,.el-scrollbar__bar.is-horizontal {
  height: 30px;
}
*::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
*::-webkit-scrollbar-thumb,.el-scrollbar__thumb {
  cursor: pointer;
  border-radius: 4px;
  background-color: rgba(144, 147, 153, 0.3);
  transition: 0.3s background-color;
}
*::-webkit-scrollbar-thumb:hover,.el-scrollbar__thumb:hover {
  background-color: rgba(144, 147, 153, 0.5);
}

*:focus-visible {
  outline: none;
}
// 顶部加载样式
#nprogress {
  pointer-events: none;
  .bar {
    background: var(--el-color-primary);
    position: fixed;
    z-index: 1031;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
  }
}

// 富文本层级
.tox-tinymce-aux {
  z-index: 6666 !important;
}

.grid {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

@for $i from 2 through 5 {
  .grid-c-#{$i} {
    grid-template-columns: repeat($i, 1fr);
  }
}

@for $i from 1 through 5 {
  .line-#{$i} {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: $i;
    -webkit-box-orient: vertical;
  }
}

// 数据列表card样式
.operate-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--system-padding);
}

.screenForm {
  display: flex;
  // justify-content:space-between;
  flex-wrap: wrap;

  margin-bottom: var(--system-padding);
}
.screenForm:last-child {
  margin: 0;
}
// 筛选下的表单item
.screenForm .el-form-item {
}
.pointer {
  cursor: pointer;
}
// 提示语
.tipBox {
  padding: 0px 16px;
  border-radius: 4px;
  margin: 20px 0;
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  border-left: 4px solid var(--el-color-primary);
  background: var(--el-color-primary-light-9);
  display: flex;
  flex-wrap: wrap;
  align-content: center;

  .active {
    font-weight: bold;
    color: var(--el-color-primary);
    cursor: pointer;
  }

  .code{
    border-radius: 5px;
    padding: 0 5px;
    color: #666;
    background: #eee;
  }

  p {
    // margin: 0;
  }
}

.tipBox.warning{
  background-color: rgba(255,229,100,.3);
  border-color: #e7c000;
  color: #6b5900;
}

// 抽屉样式
.el-drawer__header {
  margin-bottom: 20px;
}

// router-link 样式
.router-link {
  text-decoration: none;
  color: #999;
  width: 100%;
  display: inline-block;
}

.router-link:hover {
  color: var(--el-color-primary);
}

.router-link-active {
  color: var(--el-color-primary);
}

._word-break {
	word-break: break-all
}
._flex {
	display: flex;
}

._flex-wrap {
	flex-wrap: wrap;
}
._flex-justify-between {
	justify-content: space-between;
}
._flex-justify-around {
	justify-content: space-around;
}
._flex-justify-center {
	justify-content: center;
}
._flex-align-center {
	align-items: center;
}
._flex-center {
	justify-content: center;
	align-content: center;
}
._flex-center-between {
	justify-content: space-between;
	align-items: center;
}
